package com.ylxl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ylxl.entity.Materia;
import com.ylxl.entity.reponse.MateriaDetailVO;
import com.ylxl.entity.request.MateriaCmd;
import com.ylxl.entity.request.MateriaRemove;
import com.ylxl.entity.request.QueryMateria;

import java.util.List;

/**
 * 用户 业务层
 *
 */
public interface IMateriaService extends IService<Materia> {

    List<Materia> selectMateriaList(QueryMateria queryMateria);

    int insertMateriar(MateriaCmd cmd);

    MateriaDetailVO selctById(Integer id);

    int deleteByIds(List<Integer> ids);

    int remove(MateriaRemove remove);
}
